﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Demo.Model
{
    /// <summary>
    /// 患者实体类
    /// </summary>
    [Serializable]
    public partial class patient
    {
        public patient()
        { }

        private int _id;
        private string _patient_name;
        private string _patient_cardid;
        private int _purpose;
        private int _type;
        private int _number;
        private DateTime? _dis_time;
        private string _patient_number;
        private string _accept_name;
        private string _accept_mobile;
        private string _area;
        private string _accept_address;
        private int _applicant_type;
        private string _applicant_patientname;
        private string _applicant_patientcardid;
        private string _applicant_patientmobile;
        private string _agent_patientname;
        private string _agent_patientcardid;
        private string _agent_patientmobile;
        private string _patient_cardphoto1;
        private string _patient_cardphoto2;
        private string _patient_cardphoto3;
        private string _agent_photo;
        private string _agent_cardphoto1;
        private string _agent_cardphoto2;
        private string _agent_cardphoto3;
        private DateTime _add_time = DateTime.Now;

        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string patient_name
        {
            set { _patient_name = value; }
            get { return _patient_name; }
        }

        /// <summary>
        /// 患者身份证
        /// </summary>
        public string patient_cardid
        {
            set { _patient_cardid = value; }
            get { return _patient_cardid; }
        }

        /// <summary>
        /// 病案用途：1商业保险2保留自用
        /// </summary>
        public int purpose
        {
            set { _purpose = value; }
            get { return _purpose; }
        }
        /// <summary>
        /// 病案类型：1医院自取2邮寄
        /// </summary>
        public int type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 复印份数
        /// </summary>
        public int number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 出院时间
        /// </summary>
        public DateTime? dis_time
        {
            set { _dis_time = value; }
            get { return _dis_time; }
        }
        /// <summary>
        /// 病案号
        /// </summary>
        public string patient_number
        {
            set { _patient_number = value; }
            get { return _patient_number; }
        }
        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string accept_name
        {
            set { _accept_name = value; }
            get { return _accept_name; }
        }
        /// <summary>
        /// 收货人手机
        /// </summary>
        public string accept_mobile
        {
            set { _accept_mobile = value; }
            get { return _accept_mobile; }
        }
        /// <summary>
        /// 所属省市区
        /// </summary>
        public string area
        {
            set { _area = value; }
            get { return _area; }
        }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string accept_address
        {
            set { _accept_address = value; }
            get { return _accept_address; }
        }
        /// <summary>
        /// 申请人类型：1本人,2代理人
        /// </summary>
        public int applicant_type
        {
            set { _applicant_type = value; }
            get { return _applicant_type; }
        }
        /// <summary>
        /// 申请时患者姓名
        /// </summary>
        public string applicant_patientname
        {
            set { _applicant_patientname = value; }
            get { return _applicant_patientname; }
        }
        /// <summary>
        /// 申请时患者身份证
        /// </summary>
        public string applicant_patientcardid
        {
            set { _applicant_patientcardid = value; }
            get { return _applicant_patientcardid; }
        }
        /// <summary>
        /// 申请时患者手机
        /// </summary>
        public string applicant_patientmobile
        {
            set { _applicant_patientmobile = value; }
            get { return _applicant_patientmobile; }
        }
        /// <summary>
        /// 代办人姓名
        /// </summary>
        public string agent_patientname
        {
            set { _agent_patientname = value; }
            get { return _agent_patientname; }
        }
        /// <summary>
        /// 代办人身份证
        /// </summary>
        public string agent_patientcardid
        {
            set { _agent_patientcardid = value; }
            get { return _agent_patientcardid; }
        }
        /// <summary>
        /// 代办人手机
        /// </summary>
        public string agent_patientmobile
        {
            set { _agent_patientmobile = value; }
            get { return _agent_patientmobile; }
        }
        /// <summary>
        /// 患者身份证正面
        /// </summary>
        public string patient_cardphoto1
        {
            set { _patient_cardphoto1 = value; }
            get { return _patient_cardphoto1; }
        }
        /// <summary>
        /// 患者身份证反面
        /// </summary>
        public string patient_cardphoto2
        {
            set { _patient_cardphoto2 = value; }
            get { return _patient_cardphoto2; }
        }
        /// <summary>
        /// 患者身份证手持身份证
        /// </summary>
        public string patient_cardphoto3
        {
            set { _patient_cardphoto3= value; }
            get { return _patient_cardphoto3; }
        }
        /// <summary>
        /// 代办授权书
        /// </summary>
        public string agent_photo
        {
            set { _agent_photo = value; }
            get { return _agent_photo; }
        }
        /// <summary>
        /// 代办人身份证正面
        /// </summary>
        public string agent_cardphoto1
        {
            set { _agent_cardphoto1 = value; }
            get { return _agent_cardphoto1; }
        }
        /// <summary>
        /// 代办人身份证反面
        /// </summary>
        public string agent_cardphoto2
        {
            set { _agent_cardphoto2 = value; }
            get { return _agent_cardphoto2; }
        }
        /// <summary>
        /// 代办人手持身份证
        /// </summary>
        public string agent_cardphoto3
        {
            set { _agent_cardphoto3 = value; }
            get { return _agent_cardphoto3; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
    }
}
